import request from 'utils/request'

//新首页展示
export const ShoppingIndex = (params) => request.get("/index", params)

//获取手动选择商品信息
export const manuallySelectProducts = (params) => request.post("/manuallySelectProducts", params, {})

// 获取店铺分类下的商品
export const shopCategoryProd = (params) => request.post("/shopCategoryProd", params)

// 获取商品分组商品
export const groupProd = (params) => request.post("/groupProd", params)

// 获取页面内容
export const showPosterPage = (params) => request.post("/showPosterPage", params)

//牛皮广告
export const popAdvertising = params => request.post("/popAdvertising", params)

//记录弹窗广告弹出次数
export const recordAdvertisingPop = params => request.post("/recordAdvertisingPop", params)

//记录弹窗广告打开次数
export const recordAdvertisingOpen = params => request.post("/recordAdvertisingOpen", params)

//装修模板预览接口
export const showTemplatePage = params => request.post("/showTemplatePage", params)

//获取url跳转页面
export const getExternalUrl = (params) => request.get("/thirdPlatForm/externalSupplier", params)
